package me.snowiest.snowdrift.service;

import me.snowiest.snowdrift.entity.Archive;

import java.util.List;

public interface ArchiveService {
    Archive getArchiveById(Integer id);

    List<Archive> listAllArchive();

    List<Archive> listAllArchive(int pages, int pageSize);

    void addArchive(Archive archive);

    //void addArchiveWithTagId(Archive archive, Integer... tagIds);

    void saveArchive(Archive archive);

    //void saveArchive(Integer archiveId, Integer... tagIds);

    //void saveArchive(Archive archive, Integer... tagIds);

    void removeArchiveById(Integer id);
}
